import { ApiProperty } from '@nestjs/swagger';
import { IsOptional } from 'class-validator';

export class TestUpdateDto {
    /**
     * id
     */
    @ApiProperty()
    @IsOptional()
    id?: number;

    /**
     * 用户名
     */
    @ApiProperty()
    @IsOptional()
    username?: string;

}
